
import 'package:app/services/dio_manager.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter/material.dart';

class LoginFace extends StatefulWidget {
  @override
  _LoginFaceState createState() => _LoginFaceState();
}

class _LoginFaceState extends State<LoginFace> with TickerProviderStateMixin {
  bool displayPsw = true;

  @override
  void dispose() {
    // TODO: implement dispose
    super.dispose();
  }

  @override
  void initState() {
    // TODO: implement initState
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
            title: const Text(
              '人脸管理',
              style: TextStyle(
                color: Colors.white,
              ),
            ),
          backgroundColor: Colors.black), // 就是这里
        body: Container(
          color: Colors.white,
          padding: const EdgeInsets.all(5.0),
          child: Image.asset(
            'images/login_face_back.png',
            fit: BoxFit.fill,
          )
        ));
  }
}
